[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 twGetGlobal( nHndl )
 ----------------------------------------------------------------------------

     twGetGlobal() returns the current setting of a global variable you
     have previously defined. It is most efficient to use this function
     in a manifest constant definition in you system header file. Some
     common uses are to ensure constancy in system wide colour
     definitions and printer queues.

       Arguments:

     nHndl - 'N' The position in your array of definitions passed with
                 twInitGlobal() of the handle returned when you add a
                 global with twAddGlobal().

       Return:

     Current global variable setting.

       Example:

     .....
     #define NORMALCOLOR       twGetGlobal( 3 )
     #define NORMALFRAMECOLOR  twGetGlobal( 4 )
     .....

See Also: twInitGlobal() twDelGlobal() twSetGlobal() twAddGlobal()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson